namespace NGIS.Model
{
	public struct ModelAssembly
	{
		public string assemblyName;

		public string assemblyPath;

		public bool compareOther(ModelAssembly pAssembly)
		{
			if (assemblyName != pAssembly.assemblyName)
			{
				return false;
			}
			if (assemblyPath != pAssembly.assemblyPath)
			{
				return false;
			}
			return true;
		}

		public static bool operator ==(ModelAssembly maA, ModelAssembly maB)
		{
			return maA.compareOther(maB);
		}

		public static bool operator !=(ModelAssembly maA, ModelAssembly maB)
		{
			return !(maA == maB);
		}
	}
}
